package com.demoapps.client.mvp.view.main;

import com.demoapps.client.mvp.view.IMainView;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

public class MainView extends Composite implements IMainView {
	interface MainViewUiBinder extends UiBinder<Widget, MainView> {}
	private static MainViewUiBinder uiBinder = GWT.create(MainViewUiBinder.class);
	
	private IMainPresenter presenter;

	public MainView() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	@Override
	public void setPresenter(IMainPresenter presenter) {
		this.presenter = presenter;
	}

}
